package com.iweb.shopping.model;

public class Goods {
    private Integer cartid;
    private Integer goodsid;
    private String goodsname;
    private Integer userid;
    private String goodsprice;
    private String createtime;
    private String description;

    public Goods() {
    }

    public Integer getCartid() {
        return cartid;
    }

    public void setCartid(Integer cartid) {
        this.cartid = cartid;
    }

    public Integer getGoodsid() {
        return goodsid;
    }

    public void setGoodsid(Integer goodsid) {
        this.goodsid = goodsid;
    }

    public String getGoodsname() {
        return goodsname;
    }

    public void setGoodsname(String goodsname) {
        this.goodsname = goodsname;
    }

    public String getGoodsprice() {
        return goodsprice;
    }

    public void setGoodsprice(String goodsprice) {
        this.goodsprice = goodsprice;
    }

    public String getCreatetime() {
        return createtime;
    }

    public void setCreatetime(String createtime) {
        this.createtime = createtime;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Integer getUserid() {
        return userid;
    }

    public void setUserid(Integer userid) {
        this.userid = userid;
    }


    public Goods(Integer cartid, Integer goodsid, String goodsname, String goodsprice) {
        this.cartid = cartid;
        this.goodsid = goodsid;
        this.goodsname = goodsname;
        this.goodsprice = goodsprice;
    }

    public Goods(Integer goodsid, Integer userid) {
        this.goodsid = goodsid;
        this.userid = userid;
    }

    public Goods(Integer goodsid, String goodsname, Integer userid, String goodsprice, String createtime, String description) {
        this.goodsid = goodsid;
        this.goodsname = goodsname;
        this.userid = userid;
        this.goodsprice = goodsprice;
        this.createtime = createtime;
        this.description = description;
    }

    public Goods(Integer cartid, Integer goodsid, String goodsname, Integer userid, String goodsprice, String createtime, String description) {
        this.cartid = cartid;
        this.goodsid = goodsid;
        this.goodsname = goodsname;
        this.userid = userid;
        this.goodsprice = goodsprice;
        this.createtime = createtime;
        this.description = description;
    }
}